Piwik\Updater B

Total Complexity 81
Dependencies 18
Dependents 49
Total lines 638
Lines of code 311
Logical lines of code 198
Comment lines 208
Methods 22
Properties 9

Methods 22

Method Rating Maintainability Complexity Lines of code
updateComponents()
A
43 11 49
loadComponentsWithUpdateFile()
A
46 11 39
getComponentsWithNewVersion()
S
50 7 28
getSqlQueriesToExecute()
S
50 7 27
update()
S
49 6 30
getComponentUpdates()
S
53 5 22
executeSingleUpdateClass()
S
59 4 14
__construct()
S
63 4 10
executeMigration()
S
60 3 13
getCurrentComponentVersion()
S
62 3 12
getUpdateClassName()
S
62 3 11
markComponentSuccessfullyUpdated()
S
62 3 11
markComponentSuccessfullyUninstalled()
S
69 2 7
executeMigrations()
S
70 2 6
executeListenerHook()
S
73 2 5
keepBcForOldMigrationQueryFormat()
S
68 2 7
hasMajorDbUpdate()
S
82 1 3
hasNewVersion()
S
79 1 3
addUpdateObserver()
S
80 1 3
getComponentsWithUpdateFile()
S
73 1 5
recordComponentSuccessfullyUpdated()
S
79 1 3
getNameInOptionTable()
S
80 1 3